<?php
/**
 * 充值订单控制器
 */

namespace app\admin\controller;

use think\Request;
use app\common\model\RechargeOrder;
use app\common\validate\RechargeOrderValidate;
use app\admin\logic\RechargeLogLogic;
class RechargeOrderController extends Controller
{

    //列表
    public function index(Request $request, RechargeOrder $model)
    {
        if($this->request->isAjax()){
            $get = $this->request->get();
            $list = RechargeLogLogic::lists($get);
            return json([
                'code' =>1,
                'msg'  =>'',
                'data' =>$list
            ]);
        }
        return $this->fetch();
    }
}
